//
//  CustomScrollView.h
//  eeeeeeeeeeee
//
//  Created by 陶秋安 on 16/4/1.
//  Copyright © 2016年 孙智慧. All rights reserved.
//


#define kImageViewCount 3

#import <UIKit/UIKit.h>

@interface CustomScrollView : UIView<UIScrollViewDelegate>

@property (strong, nonatomic) UIScrollView *scrV;
@property (strong, nonatomic) UIPageControl *pageC;
@property (strong, nonatomic) UIImageView *imgVLeft;
@property (strong, nonatomic) UIImageView *imgVCenter;
@property (strong, nonatomic) UIImageView *imgVRight;
 
@property (strong, nonatomic)  NSArray *mArrayImageData;
@property (assign, nonatomic) NSUInteger currentImageIndex;
@property (assign, nonatomic) NSUInteger imageCount;

- (void)addScrollView;
- (void)addImageViewsToScrollView;
- (void)addPageControl;
- (void)setInfoByCurrentImageIndex:(NSUInteger)currentImageIndex;
- (void)setDefaultInfo;
- (void)reloadImage;
- (void)layoutUI;
- (void)loadData:(NSArray *) paramArrayImageData;
@end
